
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public abstract class BinaryPattern extends AbstractPattern {
	
	
	protected AbstractPattern left;
	protected AbstractPattern right;
	
	public BinaryPattern(Span span) {
		super(span);
	}
	
	
	public AbstractPattern getLeft() {
		return left;
	}
	
	public void setLeft(AbstractPattern left) {
		this.left = left;
	}
	
	public AbstractPattern getRight() {
		return right;
	}
	
	public void setRight(AbstractPattern right) {
		this.right = right;
	}
	

	public abstract void visit(ISledVisitor visitor);
}
